//
// Created by Admin on 2021/9/24.
//

#ifndef PRACTISE10_MYGRAPH_H
#define PRACTISE10_MYGRAPH_H
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
typedef struct GraphNode {
    char* name;
}GraphNode,*pGraphNode,**ppGraphNode;

typedef struct {
    int node_size;
    int edge_size;
    pGraphNode graphNodes;
    int** table;
}Graph,*pGraph;

pGraph initGraph();
void printGraph(pGraph graph);
void destroyGraph(pGraph graph);
void depthFirstSearch(pGraph graph);
void broadFirstSearch(pGraph graph);
#endif //PRACTISE10_MYGRAPH_H
